#ifndef MPENTITY_H
#define MPENTITY_H

#include <string>


typedef struct ServerSideErrorInfo {

    ServerSideErrorInfo()
    {
        No = {};
        Message = {};
    }

    //是否服务端异常
    bool ServerSideHasError()
    {
        return !No.empty();
    }

    std::string No;
    std::string Message;

} ServerSideErrorInfo,*p_ServerSideErrorInfo;


typedef struct FishInfo {

    FishInfo(){ }

    long Id;
    std::string Name;
    std::string Pinyin;
    std::string Describe;
    bool IsLivingInSea;

} FishInfo,*p_FishInfo;


#endif // MPENTITY_H
